<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

	<body>
		<ui:composition>
			
			<p:menubar>  
		          
		  
		        <p:menuitem value="Home" outcome="index" />
		  		<p:submenu label="Gestione contenuti">  
		            <p:menuitem value="Periodi" outcome="managePeriods" />  
		            <p:menuitem value="Pacchetti" outcome="managePackages" />
		            <p:menuitem value="Voli" outcome="manageFlights" />
		            <p:menuitem value="Aereoporti" outcome="manageAirports" />
		            <p:menuitem value="Hotel" outcome="manageHotels" />
		            <p:menuitem value="Località" outcome="manageLocations" />
		            <p:menuitem value="Nazioni" outcome="manageNations" />
		            <p:menuitem value="Escursioni" outcome="manageExcursions" />  
		        </p:submenu> 
		        <p:menuitem value="Visualizza prenotazioni" outcome="clientsReservations" />
		        
		        <f:facet name="options"> 
		        	<h:form> 
		        		<h:outputText value="" />
		            	<p:commandButton action="#{sessionBean.logout}" value="Logout" icon="ui-icon-extlink" style="margin-right:10px" />
		            </h:form>  
		        </f:facet>  
		    </p:menubar>
			
		</ui:composition>	
	</body>
	

</html>